package com.ergwang.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author ergwang
 * @version 1.0
 * @date 2020-12-4 17:45
 */

// 这个注解必须加，否则 扫描不到service-base中的swagger
@ComponentScan(basePackages = {"com.ergwang"})


@SpringBootApplication
public class EduApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);
    }
}
